package com.isdepci.project.carbon.service;

import com.isdepci.framework.web.domain.AjaxResult;
import com.isdepci.project.carbon.domain.BGreenCertificate;
import com.isdepci.project.carbon.domain.param.WeatherDataExcel;

import java.util.List;

/**
 * 购买绿证Service接口
 *
 * @author isdepci
 * @date 2025-03-29
 */
public interface IBGreenCertificateService
{
    /**
     * 查询购买绿证
     */
     BGreenCertificate selectBGreenCertificateById(Long id);

    /**
     * 查询购买绿证列表
     */
     List<BGreenCertificate> selectBGreenCertificateList(BGreenCertificate bGreenCertificate);

    /**
     * 新增购买绿证
     */
     int insertBGreenCertificate(BGreenCertificate bGreenCertificate);

    /**
     * 修改购买绿证
     */
     int updateBGreenCertificate(BGreenCertificate bGreenCertificate);

    /**
     * 批量删除购买绿证
     */
     int deleteBGreenCertificateByIds(Long[] ids);

    /**
     * 删除购买绿证信息
     */
     int deleteBGreenCertificateById(Long id);

    AjaxResult calGreenCertificate(Long projectId);

    AjaxResult changeDataByProjectId(WeatherDataExcel excel);
}
